package com.moneyhelper.oss.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author yanggld
 * @Date 2019/7/8-17:01
 * @Description
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "oss")
public class OssConfig {

	private String accessKeyId;

	private String accessKeySecret;

	private String endpoint = "http://oss-cn-shanghai.aliyuncs.com";

	private String bucketName = "cloud-storage-ygl";
}
